package com.hdu.ordered;

public class HashSelector implements Selector{
    @Override
    public int select(int totalLen, String key) {
        return key.hashCode() % totalLen;
    }
}
